package com.xc.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel("导航")
public class PermissionDTO {
    /**
     * 主键
     */
    @Id
    @ApiModelProperty("导航ID")
    private Integer id;
    /**
     * 状态
     */
    @ApiModelProperty("状态")
    private Integer enable;
    private String createTime;
    private String updateTime;
    private String remark;
    @ApiModelProperty("名称")
    private String name;
    @ApiModelProperty("组件名称")
    private String view;
    @ApiModelProperty("父ID")
    private Integer pId;
    @ApiModelProperty("图标")
    private String icon;
    @ApiModelProperty("访问地址")
    private String path;
}
